#example 1
s     = "dog cat and another dog"
lista = s.split()
print lista

s = "dog-cat-and-another-dog"
lista = s.split('-')
print lista

# example 2
email = "Lord.Vader@dark.side.pl"
lista = email.split("@")

print lista
page_footer = "Pisz do mnie pod: " + lista[0] + " (małpa) " + lista[1]
print page_footer

#example 3
lista2 = []

for i in lista:
  lista2.append(i.split("."))
  print lista2
  
page_footer = "Pisz do mnie pod: " + " (kropka) ".join(lista2[0]) + " (małpa) " + \
  " (kropka) ".join(lista2[1])

print page_footer
 
